package me.zhengjie.modules.weixin.service;

import me.chanjar.weixin.common.bean.WxOAuth2UserInfo;
import me.chanjar.weixin.mp.bean.result.WxMpQrCodeTicket;
import me.zhengjie.config.exception.WeChatException;

public interface IWechatOAuthService {

    String getOAuthUrl(String url, String scope,String state) throws WeChatException;

    WxOAuth2UserInfo getWxUserInfo(String code) throws WeChatException;

    String authorize(String code, Long auId) throws WeChatException;

    String generate(String scene) throws WeChatException;

    String getMobile(String code, String encryptedData, String iv);
}
